# -*- coding: utf-8 -*-
from rest_framework.serializers import ModelSerializer
from member.models import Member


class LoginSerializer(ModelSerializer):

    class Meta:
        model = Member
        fields = ('username', 'password')


class RegisterSerializer(ModelSerializer):

    class Meta:
        model = Member
        fields = ('username', 'password')